import {http} from '@/http';

/**
 * 获取基础下拉数据接口
 * @returns 
 */
export function getBaseList() {
    return http.post('index.php/user/UserCenter/getBaseList');    
}

/**
 * 获取渠道列表
 * @param {*} data 
 * @returns 
 */
export function getChannelList(data) {
    return http.post('index.php/user/OrderSecond/channel_list', data);
}

/**
 * 获取货物类型
 * @param {*} data 
 * @returns 
 */
export function getGoodsTypeList(data) {
    return http.post('index.php/user/UserCenter/getGoodType', data);
}

/**
 * 获取仓库列表
 * @returns 
 */
export function getFaceList() {
    return http.post('index.php/user/Order/warehouseFaceList');
}

/**
 * 获取仓库列表
 * @returns 
 */
export function getFaceList2() {
    return http.post('index.php/user/Order/warehouseFaceListnew');
}

/**
 * 蒂惠公告/新闻
 * @returns 
 */
export function noticeListApi(data) {
    return http.post('index.php/user/Article/getArticleList', data);
}

/**
 * 订单数量统计
 * @returns 
 */
export function statisticsLogisticsApi() {
    return http.post('index.php/user/userCenter/statisticsLogistics');
}

/**
 * 钱包余额 
 * @returns 
 */
export function getRemainMoneyApi() {
    return http.post('index.php/user/userCenter/getRemainMoney');
}

/**
 * 仓库地址  
 * @returns 
 */
export function warehouseFaceListApi() {
    return http.post('index.php/user/Order/warehouseFaceList');
}

/**
 * 查询   
 * @returns 
 */
export function logisticsListComprehensiveApi() {
    return http.post('index.php/user/order/logistics_list_comprehensive');
}

/**
 * 系统流程图   
 * @returns 
 */
export function flowChartApi() {
    return http.post('index.php/user/userCenter/flowChart');
}

/**
 * 运费计算明细
 * @returns 
 */
export function storehouseJudgelistApi(data) {
    return http.post('/index.php/user/orderV2/storehouseJudgelist',data);
}

/**
 * 提示
 * @returns 
 */
export function articleDetailApi(data) {
    return http.post('/index.php/user/orderV2/articleDetail',data);
}